package com.hg.miaosha.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.annotations.Version;
import lombok.Data;

import java.util.Date;


/**
 * created by skh on 2019/6/15
 */
@Data
@TableName("seckill")
public class Seckill {

	@TableId
	private Integer id;

	private Integer seckillId;

	private String name;

	private Integer number;

	private Date startTime;

	private Date endTime;

	private Date createTime;

	@Version
	private Integer version;
}
